package com.nian.db.mysql.mycat.simple.service;

import com.nian.db.mysql.mycat.simple.model.MyCatUser;

import java.util.List;

/**
 * 用途：
 * 开发：zhangmj
 * 日期：2020/4/16 0016 16:28
 */
public interface IMyCatUserService {

    String ID_SEQ = "'NEXT VALUE FOR MYCATSEQ_GLOBAL'";

    MyCatUser findById(Long id);

    MyCatUser save(MyCatUser model);

    int insert(MyCatUser model);

    List<MyCatUser> saveAll(List<MyCatUser> list);

    void deleteById(Long id);


}
